<!DOCTYPE html>
<html lang="en">
  <head>
    <title>江西樟树工业园</title>
    <meta charset="utf-8">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="stylesheet" href="https://unpkg.com/animate.css@3.5.2/animate.min.css">
    <script>
      //为页面html动态设置font-size值
 (function (doc, win) {
      var docEl = doc.documentElement,
        resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
        recalc = function () {
          var clientWidth = docEl.clientWidth;
          if (!clientWidth) return;
          if (clientWidth >= 750) {
            docEl.style.fontSize = '100px';
          } else {
            //在375px宽度的屏幕下 1rem = 100px
            docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
          }
          //等价于clientWidth / 375 * 100 + 'px';
        };
      if (!doc.addEventListener) return;
      win.addEventListener(resizeEvt, recalc, false); //resize
      doc.addEventListener('DOMContentLoaded', recalc, false); //reload
    })(document, window);
    </script>
  </head>
  <body>
    <div id="app"></div>
  </body>
</html>
